[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setvect()               Set Interrupt Vector Entry

 #include   <dos.h>

 void           setvect(intr_num,vector);
 int            intr_num;                Interrupt number
 void interrupt (*vector)();             New interrupt function

    setvect() sets the value (an address) of the interrupt vector entry
    'intr_num' to a new value specified by 'vector'. 'vector' is a far
    pointer that contains the address of a new interrupt function.  A C
    routine must be declared an 'interrupt' routine for its address to be
    passed to 'vector'.

       Returns:     Nothing

   Portability:     MS-DOS only.


See Also: getvect() disable()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson